namespace CSharpPro._1014_2;

public class User
{
    public string Name { get; set; }
    public int Age { get; set; }
    public  static string  StudentId { get; set; }
    public double Score { get; set; }
    
    
    public User() { }
    
    public  User(string name, int age, string studentId, double score)
    {
        Name = name;
        Age = age;
        StudentId = studentId;
        Score = score;
    }
    
    public void ShowInfo()
    {
        Console.WriteLine($"姓名：{Name}，年龄：{Age}，学号：{StudentId}，成绩：{Score}");
    }

    public bool IsPass()
    {
        return Score >= 60;
    }
    

}